import { GET, POST } from '../request';

class Map {
    dataGetData = data => POST({ title: '总体概况数据接口', data, url: PREFIX + 'data/getData' });
    map_list = data => GET({ title: '根据区域ID获取Map数据树结构', data, url: PREFIX + 'api/depart/map_list/'+data.deptId});
    tree_list = data => GET({ title: '获取权限范围的所有区域树结构', data, url: PREFIX + 'api/depart/tree_list'})
}

export default new Map()
